/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package test;


/**
 *
 * @author ddpc
 */
public class cliente {
    private String nombre;
    private float deposito;
 
    cliente(String nom){
        nombre = nom;
        deposito = 0.0f;
    }
    
    public void depositar(float num){
        deposito += num;
    }
    public void extraer(float num){
        deposito -= num;
    }
    public float mostrardeposito(){
        return deposito;
    }
    public void imprimir(){
        System.out.println(nombre+" tiene la cantidad: "+deposito);
    }
}
